package com.decent.ejfadmin.config;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Component;

/**
 * describe:
 *
 * @author JunLei He
 * @date 2018年06月30日
 */
@Component
public class RedisCacheTransfer {

    @Autowired
    public void setJedisConnectionFactory(RedisTemplate<Object,Object> redisTemplate) {
        MyBatisRedisCache.setRedisTemplate(redisTemplate);
    }

}
